﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace igflow
{
    class igLink : GameObject.igGameObject
    {
        public igLink(Vector3 position, string name)
        {
            this.Position = position;
            this.name = name;

            Meshes.igTextMesh tMesh = new igflow.Meshes.igTextMesh(new igFont(), 0.15f, 0.15f, name, Color.White);
            Components.igMeshRenderer rend = new igflow.Components.igMeshRenderer();
            rend.meshes.Add(tMesh);
            AddComponent(rend);
            World.AddGameObject(this);
        }
    }
}
